package com.hospital.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class Record {
    @NotNull(message = "id不得为空")
    private int record_id;

    @NotNull(message = "patient_id不得为空")
    private int patient_id;

    @NotNull(message = "employee_id不得为空")
    private int employee_id;

    @NotNull(message = "register_id不得为空")
    private int register_id;

    @NotNull(message = "drug_id不得为空")
    private int drug_id;

    @NotNull(message = "payment_id不得为空")
    private int payment_id;

    @NotNull(message = "refund_id不得为空")
    private int refund_id;

    @NotNull(message = "prescription_id不得为空")
    private int prescription_id;
}
